package com.iwhalecloud.citybrain.flow.platform.manager.domain.enums;

/**
 * @Author: YeTaoRui
 * @Description:
 * @Date: Create in 11:36 2021/4/22
 * @Modify by:
 */
public enum WaterSsoPathEnum {

    GET_USERINFO_BY_CODE("/openapi/user/getUserInfoByCode", "根据用户编码获取用户信息"),
    GET_ROOT_ORG("/openapi/org/getRootOrg", "获取根组织信息"),
    GET_CHILD_ORG("/openapi/org/getChildOrg", "获取直接子组织信息"),
    GET_USER_ORG_BY_CODE("/openapi/org/getUserByOrgCode", "组织下的直接用户列表"),
    GET_ROLE_LIST("/openapi/role/getRoleList", "获取角色列表"),
    GET_USER_LIST_BY_ROLE_CODE("/openapi/role/getUserListByRoleCode", "根据角色获取用户列表"),
    GET_USER_ROLES("/openapi/user/getUserRoles", "获取用户角色列表"),
    GET_USER_LIST_BY_NAME_FUZZY("/openapi/user/getUserListByNameFuzzy", "根据用户名模糊查询用户信息");


    private String path;

    private String desc;

    WaterSsoPathEnum(String path, String desc) {
        this.path = path;
        this.desc = desc;
    }

    public String getPath() {
        return path;
    }

    public String getDesc() {
        return desc;
    }
}
